﻿using Mohe.Scada.Util.Models;

namespace IPlugin
{
    /// <summary>
    /// 上传数据
    /// </summary>
    public class PayLoad
    {
        /// <summary>
        /// 时间戳
        /// </summary>
        public DateTime LastUpdateTime { get; set; }
        /// <summary>
        /// 设备
        /// </summary>
        public int DeviceId { get; set; }
        /// <summary>
        /// 设备状态
        /// </summary>
        public EnumDeviceStatus DeviceStatus { get; set; } = EnumDeviceStatus.Good;
        /// <summary>
        /// 数据
        /// </summary>
        public Dictionary<string, object> Values { get; set; } = new Dictionary<string, object>();
    }
}
